Tank Tool - ActiveX Properties
The Tank Tool is an ActiveX control. As such, a Tank Tool object has an ActiveX page on the Property Sheet. Many of these properties are the object’s formatting properties. Values for the ActiveX Properties can be set directly on the ActiveX page or in the OCXProperties dialog box, which is accessed by clicking the (OCXProperties) property.
| Property | Description | Related Properties |
|---|---|---|
|
Specifies whether the object controls its update rate. Default is 0 - No. When set to 1 - Yes, the object is repainted at the rate specified by the UpdateFrameRate property. |
||
|
Specifies the color of the object background. Default is gray (RGB 236.233.216). The background color is not shown if the Transparent property is set to 1 — Yes. |
||
|
Specifies the border style. Default is 0 - ibsNone. Other options 1 - ibsRaised and 2 - ibsLowered. |
||
|
Specifies the maximum value reached by the Position property. It is reset each time the Position value is greater than the CurrentMax value. The only way to access the value is programmatically (i.e., using script). |
||
|
Specifies the minimum value reached by the Position property. It is reset each time the Position value is less than the CurrentMin value. The only way to access the value is programmatically (i.e., using script). |
||
|
Enables user interaction with the object. If set to 0 - No, the object is still shown but its context menu is disabled. Default is 1 - Yes. |
||
|
Specifies the height (in pixels) of the object. |
||
|
Enables the SaveAllPropertiesToFile method to save just the ActiveX Properties or all object properties. Default is 0 - No, which means that only ActiveX Properties are saved. |
||
|
Specifies the orientation of the tank. Default is 0 - ioVertical. |
||
|
Specifies the color of the fill. Default is blue (RGB 0.0.255). |
||
|
Enables the fill direction to be reversed. Normal fill direction is top to bottom on a vertical tank, left to right on a horizontal tank. |
||
|
Specifies the shape of the tank’s fill indicator. Default is -1 - itpsCutOut. Other options are 0 - itpsBar, 1-itpsCutOut, 2 - itpsCutOut2, 3 - itpsLarge Window, and 4 - itpsCustom (no fill indicator). |
||
|
Specifies the fill level. Default is 0. If the object is associated with a point, the point’s value sets the fill level. If PositionPercent is specified, this value is calculated. If this value is specified, PositionPercent is calculated. |
||
|
Specifies the upper limit of the fill level. Default is 100. |
||
|
Specifies the lower limit of the fill level. Default is 0. |
||
|
Specifies the level of the fill in terms of percent in regards to the range (PositionMax and PositionMin). If Position is specified, this value is calculated. If this value is specified, Position is calculated. Default is 0. Valid range is 0.00 (0%) and 1.00 (100%). |
||
|
Specifies the interior color of the gradient. Default is silver (RGB 192.192.192). |
||
|
Specifies the exterior color of the gradient. Default is gray (RGB 128.128.128). |
||
|
Enables display of the tank exterior. Default is 1-Yes. If set to No, only the fill indicator is shown. |
||
|
Enables transparency of the object background. Default is 0 - No. |
||
|
Specifies the rate (in seconds) of repainting the object. Default is 60. Applicable only when AutoFrameRate is set to 1 - Yes. |
||
|
Enables the visibility of the object on TheView. Default is 1 - Yes. |
||
|
Specifies the width (in pixels) of the object. |


